package com.ec.system.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ec.core.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 系统字典种类表
 * </p>
 *
 * @author Eric
 * @since 2022-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ec_system_dict_type")
public class SysDictType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dict_type_id", type = IdType.ASSIGN_ID)
    private Long dictTypeId;

    /**
     * 字典类型名称
     */
    private String dictTypeName;

    /**
     * 字典类型编码
     */
    private String dictTypeCode;

    /**
     * 字典类型描述
     */
    private String dictTypeDesc;

    /**
     * 是否系统字典，0：否（默认），1：是
     */
    private Integer isSystemDict;

}
